package com.gonsin.ta.logic.node.groovy;

import com.gonsin.ta.logic.parse.condition.context.ChainContextGroovyProxy;
import groovy.lang.Script;

public class NodeGroovyScriptInstance {

    private ChainContextGroovyProxy context;

    private Script script;

    public NodeGroovyScriptInstance(ChainContextGroovyProxy context, Script script) {
        this.context = context;
        this.script = script;
    }

    public ChainContextGroovyProxy getContext() {
        return context;
    }

    public Script getScript() {
        return script;
    }
}
